package com.htjc.integral.conversion.service;

import java.util.Date;
import java.util.Map;

public interface IEcBpExchangeManagerService {
	//111
	/**
	 * 查询比例
	 * @param corporationId
	 * @param applicationNo
	 * @param nowDate
	 * @return
	 */
	Map<String, Object> queryCorExchange(String corporationId,String applicationNo,Date nowDate);
	//111
	/**
	 * 根据用户输入转换积分值-转换
	 * @param id
	 * @param consNo
	 * @param orgNo
	 * @param score
	 * @param goldCoin
	 * @param convertTime
	 * @return
	 */
	String scoreConvertByOne(String parentId,String consNo,String orgNo,
			String score);
//	String scoreConvertByOneB(String parentId,String consNo,String orgNo,
//			String score,String createtime,String powerId);
	/**
	 * 积分转换
	 * @param partnerId
	 * @return
	 */
//	String scoreConvertAll(String partnerId,String applicationUserCode);
//
////	void scoreConverAccDetailNew();
//	String batchImport(String consNo,String cellphone,
//			String fixedPhone,String email,String consPa,String orgNo,String score);
////	void scoreConverAccDetailNewAll();
//	/**
//	 * 返回积分比例
//	 * @param corporationId
//	 * @param orgNo
//	 * @return
//	 */
//	public Map<String,Object> getOneScoreConver(String corporationId,
//			String orgNo);
//	
//	/**
//	 * 发送邮件或者文字
//	 * @param mailOrMobile  邮箱或者电话
//	 * @param userName  用户名
//	 * @param sendMessage 文字描述
//	 */
//	public String sendEmailOrEmail(String mailOrMobile,String userName, String sendMessage);
//	public int updateBoundStatus(String partnerId, String autoStatu);
//	String findBoundStatu(String partnerId);
//
//	String scoreConvertByOneC(String parentId,String consNo,String orgNo,String score,String createtime,String powerId, String oldProvinceId, String serialNo,String extvar );
	
	public int insertEcRequestLog(String uuid,Map<String,Object> queryScoreConvert,String fromxml,String toxml,int reB,int newScore,String remark,String orgNo,String stats,String  orgtype,String consNo,String partnerId );
}
